#note, #trash {
  width: calc(100% - 56px);
  display: flex;
  .note-sidebar {
    width: 370px;
    height: 100%;
  }

  .note-ct {
    height: 100%;
  }

  .note-empty {
    font-size: 50px;
    color: #ccc;
    text-align: center;
    margin-top: 100px;
  }

  .note-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;

    .note-bar {
      padding: 4px 20px;
      border-bottom: 1px solid #eee;
      &:after {
        content:'';
        display: block;
        clear: both;
      }
      span {
        font-size: 12px;
        color: #999;
        margin-right: 4px;
      }
      .iconfont {
        float: right;
        margin-left: 4px;
        font-size: 18px;
        cursor: pointer;
      }
    }

    .note-title {
      input,span {
        display: inline-block;
        width: 100%;
        border: none;
        outline: none;
        font-size: 18px;
        padding: 10px 20px;
      }
    }

    .editor {
      height: calc(100% - 70px);
      position: relative;
    }

    textarea, .preview {
      position: absolute;
      width: 100%;
      height: 100%;
      padding: 20px;
    }

    textarea {
      border: none;
      resize: none;
      outline: none;
      font-size: 14px;
      font-family: 'Monaco', courier, monospace;
    }

    code {
      color: #f66;
    }
  }
}